using System;
using System.Collections.Generic;
using System.Text;
namespace Decision.BusinessLayer
{
	public class TBL_DCS_MASTER_DECISION_TYPE
	{

		#region InnerClass
		public enum TBL_DCS_MASTER_DECISION_TYPEFields
		{
			DCS_MASTER_DECISION_ID,
			MASTER_ID,
			DECISION_TYPE_ID
		}
		#endregion

		#region Data Members

			int _dCS_MASTER_DECISION_ID;
			int? _mASTER_ID;
			int? _dECISION_TYPE_ID;

		#endregion

		#region Properties

		public int  DCS_MASTER_DECISION_ID
		{
			 get { return _dCS_MASTER_DECISION_ID; }
			 set
			 {
				 if (_dCS_MASTER_DECISION_ID != value)
				 {
					_dCS_MASTER_DECISION_ID = value;
					 PropertyHasChanged("DCS_MASTER_DECISION_ID");
				 }
			 }
		}

		public int?  MASTER_ID
		{
			 get { return _mASTER_ID; }
			 set
			 {
				 if (_mASTER_ID != value)
				 {
					_mASTER_ID = value;
					 PropertyHasChanged("MASTER_ID");
				 }
			 }
		}

		public int?  DECISION_TYPE_ID
		{
			 get { return _dECISION_TYPE_ID; }
			 set
			 {
				 if (_dECISION_TYPE_ID != value)
				 {
					_dECISION_TYPE_ID = value;
					 PropertyHasChanged("DECISION_TYPE_ID");
				 }
			 }
		}


		#endregion

		#region not support PropertyChangeEvent

		protected virtual void PropertyHasChanged(string propertyName)
		{
			return;
		}

		#endregion
/********** not support Validation
		#region Validation

		internal override void AddValidationRules()
		{
			ValidationRules.AddRules(new Validation.ValidateRuleNotNull("DCS_MASTER_DECISION_ID", "DCS_MASTER_DECISION_ID"));
		}

		#endregion
********/

	}
}
